import { _decorator } from 'cc';
const { ccclass, property } = _decorator;

import { TurkishTetris_GameData } from "../../../../hall/Data/TurkishTetris_GameData";
import TurkishTetris_GameConfig from "../../../../hall/Data/TurkishTetris_GameConfig";


@ccclass('TurkishTetrisGameFunctions')
export default class TurkishTetris_GameFunctions {
    //    // 是否危险
    static IsWeiXian() {
        if (TurkishTetris_GameData.arrCardGroups[TurkishTetris_GameConfig.row - 2].length > 0) {
            return true;
        }

        return false;
    }
}

// /** 调试 */
window["TurkishTetris_GameFunctions"] = TurkishTetris_GameFunctions;